import 'package:example/ui/page/home_page.dart';
import 'package:example/ui/routers/routes.dart';
import 'package:fluent_ui/fluent_ui.dart';
import 'package:jm_flutter/jm_flutter.dart';

void main() {
  JmConfig.appName = "测试测试测试";
  //JmConfig.colors.main = Colors.blueAccent;
  JmConfig.colors.bg = Colors.white;
  //JmConfig.colors.toastBg = Colors.white70;
  //JmConfig.colors.toastText = Colors.blueAccent;
  JmConfig.i18nEnable = false;

  JmConfig.colors.appBarBg = JmConfig.colors.main;

  //

  // runApp(AnimatedFluentTheme(
  //   //data: ThemeData(),
  //   data: FluentThemeData(
  //     accentColor: Colors.blue,
  //     visualDensity: VisualDensity.standard,
  //     focusTheme: FocusThemeData(
  //       glowFactor: is10footScreen() ? 2.0 : 0.0,
  //     ),
  //   ), child: Container(),
  //
  // ));
  // runApp(JmApp(
  //   initPage: Pages.init,
  //   pages: Pages.pages,
  // ));
}
